Smush\Core\Server_Utils S

Total Complexity 40
Dependencies 0
Dependents 11
Total lines 158
Lines of code 107
Logical lines of code 60
Comment lines 9
Methods 14
Properties 2

Methods 14

Method Rating Maintainability Complexity Lines of code
check_user_agent_version()
A
56 8 16
get_server_type()
S
56 5 19
get_http_accept_header()
S
62 4 12
get_memory_limit()
S
62 4 11
array_has_needle()
S
67 3 8
browser_supports_webp()
S
67 3 7
get_mysql_version()
S
69 2 7
get_user_agent()
S
77 2 3
get_document_root()
S
77 2 3
get_current_url()
S
68 2 6
get_request_method()
S
70 2 6
get_memory_usage()
S
80 1 3
get_max_execution_time()
S
80 1 3
get_request_uri()
S
78 1 3